﻿@model ADShop.Models.Member

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

@*<fieldset>
    <legend>Member</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.InfoMember.FirstName)

    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.InfoMember.FirstName)
        </div>


        <div class="display-label">
            @Html.DisplayNameFor(model => model.UserEmail)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.UserEmail)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.Password)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Password)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.IDPrivilege)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.IDPrivilege)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.Active)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Active)
        </div>
</fieldset>*@
<div class="panel-body">
    <table class="table table-hover" id="sample-table-1">
        <thead>
            <tr>


                <th>@Html.DisplayNameFor(model => model.InfoMember.FirstName)</th>
                <th>@Html.DisplayNameFor(model => model.IDUser)</th>
                <th>@Html.DisplayNameFor(model => model.Password)</th>
                <th>@Html.DisplayNameFor(model => model.IDPrivilege)</th>
                <th>@Html.DisplayNameFor(model => model.Active)</th>

            </tr>
        </thead>
        <tbody>
            <tr>


                <td>
                    <div class="editor-field">
                     @Html.DisplayFor(model => model.InfoMember.FirstName)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.UserEmail)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.Password)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.IDPrivilege)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.Active)
                    </div>
                </td>

            </tr>

        </tbody>
    </table>
</div>

<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.IDUser }, new { @class = "label label-default" }) |
    @Html.ActionLink("Quay lại danh sách khách hàng", "Index", new { @class = "label label-default" })
</p>
